<template>
    <div class="cont-box">
        <div class="container">
            <div class="box1">
                <div class="box2">
                    <div class="box3">
                        <div class="box4">
                            <div class="box5">

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
import img1 from '../../../assets/images/quan2.png';
import img2 from '../../../assets/images/quan1.png';
import img3 from '../../../assets/images/quan3.png';
import img4 from '../../../assets/images/quan5.png';
import img5 from '../../../assets/images/quan4.png';
export default {
    data() {
        return {
            imageList: [img1, img2, img3, img4, img5],
            rotationSpeeds: [4, 6, 8, 10, 12],
        };
    },
};
</script>

<style lang="scss" scoped>
@keyframes rotate {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}


.cont-box {
    width: 100%;
    height: 100%;

    transform: rotateX(80deg);

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 213%;
        width: 186%;
        background: url('../../../assets/images/quan5.png') no-repeat 0 0/100% 100%;
        animation: rotate 15s infinite linear;
        transform-style: preserve-3d;

        .box1 {
            width: 80%;
            height: 80%;
            background: url('../../../assets/images/quan1.png') no-repeat 0 0/100% 100%;
            display: flex;
            justify-content: center;
            align-items: center;

            .box2 {
                width: 60%;
                height: 60%;
                background: url('../../../assets/images/quan3.png') no-repeat 0 0/100% 100%;
                display: flex;
                justify-content: center;
                align-items: center;

                .box3 {
                    width: 90%;
                    height: 90%;
                    background: url('../../../assets/images/quan4.png') no-repeat 0 0/100% 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    .box4 {
                        width: 90%;
                        height: 90%;
                        background: url('../../../assets/images/quan2.png') no-repeat 0 0/100% 100%;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        .box5 {
                            width: 90%;
                            height: 90%;
                            background: url('../../../assets/images/quan5.png') no-repeat 0 0/100% 100%;
                            display: flex;
                            justify-content: center;
                            align-items: center;

                        }
                    }
                }
            }

        }

    }
}
</style>